package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_unionwar_activity_goods_use", desc = "群英争霸_货物使用", autoSave = true, uploadCk = true)
public class LogUnionWarActivityGoodsUse extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "道具id")
    private int goodsId;

    @FieldTypeAnnotation(desc = "阶段")
    private int phase;

    @FieldTypeAnnotation(desc = "场次")
    private int session;

    @FieldTypeAnnotation(desc = "数量")
    private int num;

    public LogUnionWarActivityGoodsUse(long userId, int activityId, int goodsId, int phase, int session, int num) {
        this.userId = userId;
        this.activityId = activityId;
        this.goodsId = goodsId;
        this.phase = phase;
        this.session = session;
        this.num = num;
    }

    public long getUserId() {
        return userId;
    }
}
